<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title></title>
  <script src="/vue.js"></script>
</head>
<body>
  <div id="root">
    <app title="aaa"></app>
  </div>
  <script>
    Vue.component('my-header', {
      template: `
        <div>my-header</div>
      `
    })
    Vue.component('app', {
      props: ['title'],
      created() {
        console.log(-1)
      },
      render: h => h('my-header'),
      mounted() {
        console.log(1)
      },
    })

    var vm = new Vue({
      el: '#root',
      
    })
  </script>
</body>
</html>